package com.example.video.service;

import com.example.video.entity.Platform;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qiusuyang
 * @since 2024-04-17
 */
public interface IPlatformService {


    Platform getItem(Integer platformId);

    List<Platform> getAll();

    List<Platform> getList(Integer page, Integer size);

    long  GetCount();

    boolean add(Platform platform);

    boolean modify(Platform platform);

    boolean delete(Integer id);

    Platform getItemByName(String platformName);

    String getPlatformNameById(Integer id);
}
